package com.timesheet.gui.tasktracker.viewmodel;

import java.util.Date;

public class TaskTrackerViewModel extends ViewModel {

	private String taskNo;

	private String taskType;

	private String taskStatus;

	private Date plannedEffort;

	private Date actualEffort;

	public void setTaskNo(String taskNo) {
		firePropertyChange("taskNo", this.taskNo, taskNo);
		this.taskNo = taskNo;

	}

	public void setActualEffort(Date actualEffort) {
		firePropertyChange("actualEffort", this.actualEffort, actualEffort);
		this.actualEffort = actualEffort;

	}

	public void setPlannedEffort(Date plannedEffort) {
		firePropertyChange("plannedEffort", this.plannedEffort, plannedEffort);
		this.plannedEffort = plannedEffort;

	}

	public void setTaskStatus(String taskStatus) {
		firePropertyChange("taskNo", this.taskStatus, taskStatus);
		this.taskStatus = taskStatus;

	}

	public void setTaskType(String taskType) {
		firePropertyChange("taskType", this.taskType, taskType);
		this.taskType = taskType;

	}

	public Date getActualEffort() {
		return actualEffort;
	}

	public Date getPlannedEffort() {
		return plannedEffort;
	}

	public String getTaskNo() {
		return taskNo;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public String getTaskType() {
		return taskType;
	}

}
